package HomeWork;

public class Poker {
    /**
     * 扑克的点数
     */
    private String point;
    /**
     * 扑克的颜色
     */
    private String color;
    /**
     * 扑克的数大小
     */
    private int num;

    private int suit;

    @Override
    public String toString() {
        return this.color + this.point;
    }

    public Poker(){}

    public Poker(String point, String color, int num, int suit) {
        this.point = point;
        this.color = color;
        this.num = num;
        this.suit = suit;
    }

    public int getSuit() {
        return suit;
    }

    public void setSuit(int suit) {
        this.suit = suit;
    }

    public String getPoint() {
        return point;
    }

    public void setPoint(String point) {
        this.point = point;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }
}
